<?php
    $c24 = '动态网页实践';
?>
<table border="1" cellpadding="0" cellspacing="0">
    <?php for($i = 1; $i <=9; $i++):?>
    <tr>
        <?php for ($j = 1; $j <= 5; $j++):?>
        <td width="100" height="30"
            <?php if ($i % 2 == 1):?>style="background-color: gray"<?php endif;?>>
            <?php if($i == 2 && $j == 4) echo $c24;?>
        </td>
        <?php endfor;?>
    </tr>
    <?php endfor;?>
</table>
